package org.xinjiang.tarim.travel.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xinjiang.tarim.travel.mapper.FileMapper;
import org.xinjiang.tarim.travel.model.File;
import org.xinjiang.tarim.travel.service.FileService;

import java.util.List;

@Service
public class FileServiceImpl implements FileService {
    @Autowired
    FileMapper fileMapper;

    @Override
    public List<File> insert(List<File> list) {
        fileMapper.insert(list);
        return list;
    }

    @Override
    public List<File> selectByPrimaryKeys(List list) {
        return fileMapper.selectByPrimaryKeys(list);
    }
}
